export default {
  namespaced: true,
  state: {
    abc: 1,
    token: '333444555',
    userInfo: {
      avatar:{
        url: 'http://xxx.com/xxx.jpg'
      }
    }
  },
  mutations: {
    setAbc(state) {
      console.log('这里是执行 user 的 setAbc');
      state.abc = 333
    },
    setToken(state, data) {
      state.token = data
    }
  }
}